<?xml version="1.0" encoding="utf-8"?>

<div xmlns="http://www.w3.org/1999/xhtml" class="main13" component="$UI/system/components/justep/window/window"
  design="device:mobile;" xid="window">  
  <div component="$UI/system/components/justep/model/model" xid="model" style="height:auto;top:6px;left:663px;"> 
    <div component="$UI/system/components/justep/data/data" autoLoad="true"
      xid="rootClassData" idColumn="fID" onCustomRefresh="rootClassDataCustomRefresh"> 
      <column label="id" name="fID" type="String" xid="default6"/>  
      <column label="标题" name="mClassName" type="String" xid="xid6"/>  
      <column label="标题" name="fClassName" type="String" xid="xid7"/> 
    </div>  
   <!--  <div component="$UI/system/components/justep/data/data" autoLoad="false"
      xid="secondClassData" idColumn="fID" onCustomRefresh="secondClassDataCustomRefresh"> 
      <column label="id" name="fID" type="String" xid="xid1"/>  
      <column label="一级分类ID" name="fRootID" type="String" xid="xid2"/>  
      <column label="分类名称" name="fClassName" type="String" xid="xid3"/> 
    </div>  
    <div component="$UI/system/components/justep/data/data" autoLoad="false"
      xid="threeClassData" onCustomRefresh="threeClassDataCustomRefresh" idColumn="fID"> 
      <column label="id" name="fID" type="String" xid="xid4"/>  
      <column label="二级分类ID" name="fSecondID" type="String" xid="xid5"/>  
      <column label="分类名称" name="fClassName" type="String" xid="xid7"/>  
      <column label="分类图片" name="fClassImg" type="String" xid="xid8"/> 
    </div>  -->
  <div component="$UI/system/components/justep/data/data" autoLoad="true" xid="shuju" idColumn="fID" onCustomRefresh="shujuCustomRefresh">
   <column name="fID" type="String" xid="xid9"></column>
  <column name="fenleiid" type="String" xid="xid10"></column>
  <column name="img" type="String" xid="xid11"></column>
  <column name="name" type="String" xid="xid12"></column>
  <column name="yueduliang" type="String" xid="xid13"></column>
  <column label="内容" name="content" type="String" xid="xid1"></column>
  <data xid="default1">[]</data>
  <column label=" 视频" name="video" type="String" xid="xid2"></column>
  <column label="诊断" name="diagnose" type="String" xid="xid3"></column></div></div>  
  <div component="$UI/system/components/justep/panel/panel" class="x-panel x-full x-card x-has-iosstatusbar"> 
    <!--    <div class="x-panel-top" height="49"> 
      <div component="$UI/system/components/justep/titleBar/titleBar" class="x-titlebar"
        title="宝贝分类"> 
        <div class="x-titlebar-left"> 
          <a component="$UI/system/components/justep/button/button" class="btn btn-link btn-only-icon"
            label="分类" xid="button6" icon="icon-chevron-left" onClick="{operation:'window.close'}"> 
            <i xid="i6" class="icon-chevron-left"/>  
            <span xid="span6">分类</span> 
          </a> 
        </div>  
        <div class="x-titlebar-title">宝贝分类</div>  
        <div class="x-titlebar-right reverse"/> 
      </div> 
    </div>   -->  
    <div xid="content" class="x-panel-content x-cards"> 
      <div component="$UI/system/components/bootstrap/row/row" class="row tb-box"> 
        <div class="col col-xs-3" xid="col10"> 
          <div component="$UI/system/components/justep/list/list" class="x-list tb-root"
            xid="rootClassList" data="rootClassData" dataItemAlias="rootClassRow"> 
            <ul class="x-list-template list-group" xid="listTemplateUl1"> 
              <li xid="li1" bind-css="{'current':rootClassRow.val('fID')==$model.rootClassData.val('fID')}"
                class="list-group-item text-center tb-nopadding" style="height:110px;"> 
                <div component="$UI/system/components/justep/row/row" class="x-row"
                  xid="row1"> 
                  <div class="x-col gggg" xid="col1" bind-text=" val(&quot;mClassName&quot;)"/>  
                  <div class="x-col" xid="col3" bind-text=" val(&quot;fClassName&quot;)"/>
                </div>
              </li> 
            </ul> 
          </div> 
        </div>  
        <div class="col col-xs-9 x-scroll-view" xid="col11"> 
          <!--   <div component="$UI/system/components/justep/list/list" class="x-list"
            xid="secondClassList" data="secondClassData" filter='$row.val("fRootID")==$model.rootClassData.val("fID")' dataItemAlias="secondClassRow"> 
            <ul class="x-list-template" xid="listTemplateUl2"> 
              <li xid="li2"> 
                <h5 bind-text="ref('mClassName')" class="text-muted gggg"><![CDATA[]]></h5>  
                <div component="$UI/system/components/justep/list/list" class="x-list clearfix"
                  xid="threeClassList" data="threeClassData" filter="$row.val('fSecondID')==secondClassRow.val('fID')" bind-click="listClick" dataItemAlias="threeClassRow"> 
                  <ul class="x-list-template" xid="listTemplateUl3"> 
                    <li xid="li3" class="col col-xs-4 text-center tb-listBox text-black"> 
                     <div><img src="" alt="" bind-attr-src='$model.getImageUrl(val("fClassImg"))' class="img-responsive" /><p bind-text="val(&quot;fClassName&quot;)"/></div>
                       
                    </li> 
                  </ul> 
                </div> 
              </li> 
            </ul> 
          </div>  -->  
          <div class="x-scroll" component="$UI/system/components/justep/scrollView/scrollView"
            xid="scrollView1"> 
            <div class="x-content-center x-pull-down container" xid="div1"> 
              <i class="x-pull-down-img glyphicon x-icon-pull-down" xid="i1"/>  
              <span class="x-pull-down-label" xid="span1">下拉刷新...</span>
            </div>  
            <div class="x-scroll-content" xid="div2">
              <div component="$UI/system/components/justep/list/list" class="x-list"
                xid="list1" data="shuju" filter='$row.val("fenleiid")==$model.rootClassData.val("fID")'> 
                <ul class="x-list-template" xid="listTemplateUl2"> 
                  <li xid="li2" style="margin-top:4px;background:#fff" bind-click="li2Click">
                     <div class="media" xid="media1" style="height:145px;"> 
                  <div class="media-left" xid="mediaLeft1"> 
                    <a href="#" xid="a1"> 
                      <img class="media-object" src="" alt="" xid="image1"
                        bind-attr-src='val("img")' style="width:150px;height:120px;margin-top:10px;margin-left:10px;border-radius:8px"/>
                    </a> 
                  </div>  
                  <div class="media-body" xid="mediaBody1"> 
                    <h4 xid="h41" bind-text='val("name")' style="margin-top:30px;text-align:center;"><![CDATA[]]></h4>
  <div component="$UI/system/components/justep/row/row" class="x-row" xid="row2">
   <div class="x-col x-col-67" xid="col2"><span xid="span3"><![CDATA[阅读量]]></span></div>
   <div class="x-col" xid="col4" bind-text=' val("yueduliang")'></div>
   </div></div> 
                </div>
                  </li>
                </ul> 
              </div>
            </div>  
            <div class="x-content-center x-pull-up" xid="div3"> 
              <span class="x-pull-up-label" xid="span2">加载更多...</span>
            </div> 
          </div>
        </div> 
      </div> 
    </div> 
  </div> 
<span component="$UI/system/components/justep/windowDialog/windowDialog" xid="img1" src="$UI/longrange/study/image_text.w">
   <result concept="shuju" operation="edit" origin="shuju" xid="default2">
    <mapping from="fID" to="fID" xid="default3"></mapping>
    <mapping from="fenleiid" to="fenleiid" xid="default4"></mapping>
    <mapping from="img" to="img" xid="default5"></mapping>
    <mapping from="name" to="name" xid="default7"></mapping>
    <mapping from="yueduliang" to="yueduliang" xid="default8"></mapping>
    <mapping from="content" to="content" xid="default9"></mapping></result> </span>
  <span component="$UI/system/components/justep/windowDialog/windowDialog" xid="video" src="$UI/longrange/study/video.w"></span>
  <span component="$UI/system/components/justep/windowDialog/windowDialog" xid="live1" src="$UI/longrange/study/live_broadcast.w"></span>
  <span component="$UI/system/components/justep/windowDialog/windowDialog" xid="cases" src="$UI/longrange/study/cases.w"></span></div>
